﻿using System;
using System.Windows.Media.Imaging;

namespace Tools.beans
{
    
    /**
     * 封装 tools 信息
     */
    public class ToolsBean
    {
        private String fileName;

        private String filePath;

        private BitmapSource fileIcon;

        private String createTime;


        public string FileName
        {
            get => fileName;
            set => fileName = value;
        }

        public string FilePath
        {
            get => filePath;
            set => filePath = value;
        }

        public BitmapSource FileIcon
        {
            get => fileIcon;
            set => fileIcon = value;
        }

        public string CreateTime
        {
            get => createTime;
            set => createTime = value;
        }

        public ToolsBean(string fileName, string filePath, BitmapSource fileIcon, string createTime)
        {
            this.fileName = fileName;
            this.filePath = filePath;
            this.fileIcon = fileIcon;
            this.createTime = createTime;
        }
        public ToolsBean(string fileName, string filePath, BitmapSource fileIcon)
        {
            this.fileName = fileName;
            this.filePath = filePath;
            this.fileIcon = fileIcon;
           
        }
    }
}